package com.liuwei.msmall.product.feign;

import com.liuwei.msmall.common.dto.SkuFullReductionDTO;
import com.liuwei.msmall.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient("msmall-marketing-service")
public interface SkuFullReductionFeignService {

    @PostMapping("/marketing/skufullreduction/save")
    R saveBatch(@RequestBody List<SkuFullReductionDTO> dto);

}
